MC
Section: User Commands (1)
Updated: 22 December 1992
Index
Return to Main Contents
NAME
mc - Modula-P: A Compiler for Asynchronously Parallel Programs
SYNOPSIS
mc
{
-options
}
[
sourcefile
]
DESCRIPTION
mc
is the compiler for the parallel programming language
Modula-P.
It translates programs written in Modula-P
into C code and then builds executables. The processor module has to be
compiled as the
last
module. All highlevel and lowlevel modules used must be reachable via
import declarations from the processor module and are linked to one executable.
mc calls the C compiler at the local
workstation, if the compilation of Modula-P was successful.
When using COMMUNICATIONS, mc calls rpcgen at the local
workstation and the C compiler at the remote
workstation, if the compilation of the Modula-P COMMUNICATION was successful.
The compiler only takes files ending with
.mod
as input files. If
sourcefile
has not the extension
.mod
, the compiler adds
.mod
and tries to open the file.
The Modula-P compiler always produces object files with the name
sourcefile.m.o.
Here and in the following descriptions,
sourcefile
is assumed to be without extension
.mod .
OPTIONS
- cfn
-
use
fn
as output name for the generated C file (default is
sourcefile.m.c ).
- d
-
include rule or compiler subroutine name whenever errors occur (this feature is useful only for debugging compiler errors).
- l
-
generate a listing file. The filename of the listing is
sourcefile.lis .
- msize
-
set size for shared memory segment to
size
in kByte (default is 64).
- ofn
-
use
fn
as output name for the generated executabnle file.
- s
-
show initialization sequence of the modules
at execution time on standard output.
- w
-
suppress output of warning messages.
ENVIRONMENT
- MC_LIBMCLOCAL
-
if the library
libmclocal.a
is not included in the LD_LIBRARY_PATH, you may set this environment
variable to the full path for
libmclocal.a .
- MC_LIBMCREMOTE
-
if the library
libmcremote.a
is not included in the LD_LIBRARY_PATH of the remote workstation, you may set this environment
variable to the full path for
libmclocal.a
- MC_INCLUDE
-
directory path for the include files of the Modula-P compiler. This environment
variable should be set, if the include files are not located
in a standard include path.
- MC_CCLOCAL
-
this environment variable may contain any additional options for the
C compiler for compilations at the local workstation (no COMMUNICATIONS).
- MC_LDLOCAL
-
this environment variable may contain any additional options for the
C compiler for linking (ld) at the local workstation (no COMMUNICATIONS).
- MC_REMOTE
-
this environment variable may contain any additional options for the
C compiler for compiling and linking (ld) at the remote
workstation.
This environment variable only works while compiling COMMUNICATIONS on remote workstations.
SEE ALSO
- cc (1V), rpcgen(1)
-
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- ENVIRONMENT
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 16:53:33 GMT, January 16, 2023